<script type="text/javascript">
    window.location.href = "<?php echo $this->url('shop-goods', ['id' => $this->goodsInfo[0]->getGoodsId()]); ?>";
</script>